package org.example.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 设备号传真号映射表
* @TableName device_faxNumber
*/
public class DeviceFaxNumber implements Serializable {

    /**
    * 设备ID
    */
    private String deviceid;
    /**
    * 传真号
    */
    private String faxnumber;
    /**
    * 用户id
    */
    private String subscriptionid;
    /**
    * 昵称
    */
    private String nickname;
    /**
    * 是否开启发送传真通知
    */
    private Integer sendnoticestatus;
    /**
    * 是否开启接收传真通知
    */
    private Integer receivenoticestatus;
    /**
    * 用户id
    */
    private int id;

    private String fcmtoken;

    private String name;

    private String phone;

    private String email;

    /**
    * 设备ID
    */
    public void setDeviceid(String deviceid){
    this.deviceid = deviceid;
    }

    /**
    * 传真号
    */
    public void setFaxnumber(String faxnumber){
    this.faxnumber = faxnumber;
    }

    /**
    * 用户id
    */
    public void setSubscriptionid(String subscriptionid){
    this.subscriptionid = subscriptionid;
    }

    /**
    * 昵称
    */
    public void setNickname(String nickname){
    this.nickname = nickname;
    }

    /**
    * 是否开启发送传真通知
    */
    public void setSendnoticestatus(Integer sendnoticestatus){
    this.sendnoticestatus = sendnoticestatus;
    }

    /**
    * 是否开启接收传真通知
    */
    public void setReceivenoticestatus(Integer receivenoticestatus){
    this.receivenoticestatus = receivenoticestatus;
    }

    /**
    * 用户id
    */
    public void setId(int id){
    this.id = id;
    }

    public void setFcmtoken(String fcmtoken) { this.fcmtoken = fcmtoken;}

    public void setName(String name) {this.name = name;}

    public void setPhone(String phone) {this.phone = phone;}

    public void setEmail(String email) {this.email = email;}

    /**
    * 设备ID
    */
    public String getDeviceid(){
    return this.deviceid;
    }

    /**
    * 传真号
    */
    public String getFaxnumber(){
    return this.faxnumber;
    }

    /**
    * 用户id
    */
    public String getSubscriptionid(){
    return this.subscriptionid;
    }

    /**
    * 昵称
    */
    public String getNickname(){
    return this.nickname;
    }

    /**
    * 是否开启发送传真通知
    */
    public Integer getSendnoticestatus(){
    return this.sendnoticestatus;
    }

    /**
    * 是否开启接收传真通知
    */
    public Integer getReceivenoticestatus(){
    return this.receivenoticestatus;
    }

    /**
    * 用户id
    */
    public Integer getId(){
        return this.id;
    }

    public  String getFcmToken() {
        return this.fcmtoken;
    }

    public String  getName() {
        return this.name;
    }

    public String getEmail() {
        return this.email;
    }

    public String getPhone() {
        return this.phone;
    }
}
